package com.itheima.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.pojo.OrderSetting;
import org.apache.ibatis.annotations.Delete;

import java.util.Date;

public interface OrderSettingMapper extends BaseMapper<OrderSetting> {

    @Delete("delete from t_order_setting where order_date=#{today}" )
     boolean  deleteOrderSettingByMonth(Date today);

}
